package dao;

import java.util.List;

import models.User;

public interface UserDao {
	public boolean checkExistByUsername(String username);
	public void insert(User user);
	public User selectByUsernameAndPassword(String username, String password);
	public int count(User user);
	public List<User> selectAll();
	public User selectById(String userId);
	public void update(User user);
}
